[Feature] add learnable agent#4
Closed
rayrayraykk wants to merge 3 commits intoagentscope-ai:mainfrom
Closed
Conversation
5fb5e16 to
62d1af6
Compare
Member
|
Closing for new version preparation |
wymfly
pushed a commit
to wymfly/agentscope-archive
that referenced
this pull request
Dec 4, 2025
添加完整的测试报告和架构问题分析文档: **新增文档:** 1. BUGS_FOUND.md - 端到端测试发现的6个BUG详细报告 2. ARCHITECTURE_ISSUES.md - 架构不协调问题深度分析 3. 更新 tasks.md - 添加数据库持久化任务和BUG记录 4. 更新 proposal.md - 添加Critical Bugs章节 **测试发现:** - BUG agentscope-ai#1: browse API缺失id字段 (✅ 已修复) - BUG agentscope-ai#2: 审计记录无持久化 (🔥 BLOCKER) - BUG agentscope-ai#4: 前后端字段不匹配 (✅ 已修复) - BUG agentscope-ai#5: universal上传未创建UnifiedFile (🔥 BLOCKER) - BUG agentscope-ai#6: 审计统计字段名不一致 (⚠️ High) **架构问题:** - 发现新旧文件系统设计哲学冲突 - UnifiedFileService vs universal upload 不兼容 - 需要重构以支持MinIO-only场景 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Class Description
The LearnableAgent class extends AgentBase and implements abstract base class (ABC) functionalities, serving as the core for creating agents capable of learning from textual interactions.
Key components of the LearnableAgent class include:
reply: A method to be implemented by derived agents, allowing for customized response mechanisms.learn_from_chat: Processes messages from the agent's memory to learn and assess their value for knowledge preservation.archive_valuable_msg: Determines whether a message contains valuable knowledge and, if so, extracts a summary and stores it in the knowledge base.